Other languages: Français
Meta description:
When performing an action that deals fire damage, the character may spend 4 SP to apply a Biological Resistance effect to the affected target. If applied, the target gains Biological Resistance 1 for a duration of 8 seconds. Reapplying this effect while it is already active resets the duration to 8 seconds; the resistance value does not stack.
-
Name:
mScorchI
-
Displayed name:
Scorch I
-
Description:
When performing an action that deals fire damage, the character may spend 4 SP to apply a Biological Resistance effect to the affected target. If applied, the target gains Biological Resistance 1 for a duration of 8 seconds. Reapplying this effect while it is already active resets the duration to 8 seconds; the resistance value does not stack.
-
Condition:
assert(character:has([[mFireMasteryI]]),[[You should have "Fire mastery I".]]) -
Cost:
expCost(300,150)-0 -
Script:
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Condition:
action:tagsContain([[fireDamage]]) -
Description:
-
Variables:
vScorchDuration = 8 vScorchCost = 4 vScorchResistance = 1 -
Script:
-
Action effects:
-
Use case:
vApplyScorch*3
-
Name:
Scorch
-
Description:
Spend vScorchCost.string SP to grant Biological Resistance vScorchResistance.string for vScorchDuration.string seconds.
-
Script:
if not character:has([[sBiologicalResistance]]) then sBiologicalResistance = character:createStat("sBiologicalResistance", "temporary") sBiologicalResistance.displayName:set("Biological resistance") end if not character:has([[mScorch]]) then mScorch = character:createEffect("mScorch") mScorch.displayName:set("Scorch") mScorch.description:set("The creature gains Biological Resistance {{vScorchResistance}}.") mScorch.script:set([=[character.sBiologicalResistance:addNormal({{vScorchResistance}}, [[natural]], [[Scorch]])]=]) mScorch:activate() end character.mScorch.duration:set({{vScorchDuration}}) -
Variables:
vApplyScorch = ToggleVariable([[vApplyScorch]],[[Scorch]])
-
-
-
Upgrades:
-
Name:
mScorchII
-
Displayed name:
Scorch II
-
Description:
Increase the scorch duration to 16 seconds.
-
Condition:
-
Cost:
expCost(700,350)-150 -
Script:
master.displayName:set([[Scorch II]]) master.description:replace([[8 seconds]],[[16 seconds]]) master.addOns[1].variables:replace([[vScorchDuration = 8]],[[vScorchDuration = 16]]) -
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-